home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2002 March
/
PCWorld_2002-03_cd.bin
/
Software
/
TemaCD
/
xteq
/
setup.exe
/
{app}
/
plugins
/
XQ Network Login User.xpl
< prev
next >
Wrap
Text File
|
2001-04-13
|
1KB
|
47 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="1"
"COUNT"="1"
"UIPATH 1"="Startup/Shutdown\Startup\Windows 9x/ME\61) Inside Login Window"
"UIPATH 2"="Startup/Shutdown\Startup\Windows NT/2K/XP\31) Inside Login Window"
"NAME"="Next Username"
"VERSION"="2.04"
"OSVERSION"="111111"
"LANGUAGE"="VBScript"
"TEXT 1"="Username"
"DESCRIPTION 1"="This plug-in can be used to change the username that will be displayed in the next login window."
"AUTHOR"="Xteq Systems"
"CONTACTURL"="http://www.xteq.com"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"=" "
"COMMENT 2"="Thanks to CptSiskoX for his help!"
sV_W9x="HKLM\Network\Logon\Username"
sV_W2K="HKLM\Software\Microsoft\Windows NT\CurrentVersion\WinLogon\DefaultUserName"
sV_Path=""
Sub Plugin_Initialize
If GetWinVer=1 or GetWinVer=3 or GetWinVer=5 then
'W9x
sV_Path=sV_W9x
else
'NT/2K
sV_Path=sV_W2K
end if
s=RegReadValue(sV_Path)
SetUIElement 1,s
End Sub
Sub Plugin_CheckData(ElementIndex)
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
s=GetUIElement(1)
Call RegWriteValue(sV_Path,s,1)
End Sub
Sub Plugin_Terminate
End Sub